/******************************************************************************
 * SakaieverDaoImpl.java - created by Sakai App Builder -AZ
 *
 * Copyright (c) 2008 Sakai Project/Sakai Foundation
 * Licensed under the Educational Community License version 1.0
 *
 * A copy of the Educational Community License has been included in this
 * distribution and is available at: http://www.opensource.org/licenses/ecl1.php
 *
 *****************************************************************************/

package jp.co.sakaiever.dao;

import java.util.List;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import org.sakaiproject.genericdao.api.search.Search;
import org.sakaiproject.genericdao.hibernate.HibernateGeneralGenericDao;

import jp.co.sakaiever.dao.SakaieverDao;

/**
 * Implementations of any specialized DAO methods from the specialized DAO
 * that allows the developer to extend the functionality of the generic dao package
 * @author Sakai App Builder -AZ
 */
public class SakaieverDaoImpl
   extends HibernateGeneralGenericDao
      implements SakaieverDao {

   private static Log log = LogFactory.getLog(SakaieverDaoImpl.class);

   public void init() {
      log.debug("init");
   }

   public <T> List<T> findBySearch(Class<T> entityClass, Object search) {
	    return findBySearch(entityClass, (Search) search);
	}
}
